/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package org.netbeans.shapesimple;


import java.awt.Image;
import java.awt.event.ActionEvent;
import javax.swing.AbstractAction;
import org.netbeans.shapesimple.palette.Shape;
import org.openide.nodes.AbstractNode;


/**
 *
 * @author rejun001
 */
public class MyNode 
{
    private Image image;


    public MyNode( Image image )
    {
        this.image = image;
    }


    public Image getImage()
    {
        return image;
    }
    
//    private class ShowPropsAction extends AbstractAction
//    {
//        public ShowPropsAction()
//        {
//            putValue( NAME, "Properties");
//        }
//
//
//        @Override
//        public void actionPerformed( ActionEvent e )
//        {
//            Shape obj = getLookup().lookup(Shape.class);
//        }
//    }
}
